package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

public interface CoursesService {
    PageResult<Course> pageCourses(String name, String subject, String target, Integer page, Integer pageSize);

    void removeCourseById(Long id);

    void saveCourse(Course course);

    Course getCourseById(Long id);

    void updateCourse(Course course);

    List<Course> listAllCourses();

    List<Course> listCoursesBySubject(String subject);
}
